package com.pro.service.imple;

import com.mysql.cj.util.StringUtils;
import com.pro.dao.AuditLogMapper;
import com.pro.entity.AuditLog;
import com.pro.service.AuditLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName: AuditLogServiceImple
 * @Author: 笑笑
 * @DATE: 2021/11/29
 * @TIME: 下午 08:06
 */
@Service
public class AuditLogServiceImple implements AuditLogService {
    @Autowired
    private AuditLogMapper auditLogMapper;

    @Override
    public List<AuditLog> getAllTable(AuditLog auditLog) {
        return auditLogMapper.getAllTable(auditLog);
    }

    @Override
    public Boolean addAuditLog(AuditLog auditLog) {
        return auditLogMapper.addAuditLog(auditLog);
    }
}
